package org.example.studentmanager.repository;

import org.example.studentmanager.model.Root;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface RootRepository extends JpaRepository<Root, Long> {
    Optional<Root> findByUsername(String username);
}